package com.im.partchat.bean;

import com.im.partchat.db.PartChatDataBase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;

/**
 * Created by fzl on 2017/6/29 0029.
 * VersionCode: 1
 * Desc:
 */
@Table(name = "t_group", database = PartChatDataBase.class, cachingEnabled = true)
public class Group {

    /**
     * userId : 用户ID
     * groupId : 群组ID
     * name : 群组名称
     * ids : 多个用户ID，中间以英文逗号分隔，例如  11,22,33
     */
    @PrimaryKey
    @Column
    private String groupId;
    @Column
    private String userId;
    @Column
    private String name;
    @Column
    private String ids;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }
}
